home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 2
/
Gold Medal Software Volume 2 (Gold Medal) (1994).iso
/
windows
/
comms
/
recomm10.arj
/
RE_COMM.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-10-22
|
742b
|
44 lines
#include <windows.h>
#include <string.h>
#ifdef DLL_MAIN
#define EXTVAR
#else
#define EXTVAR extern
#endif
EXTVAR HINSTANCE hCm;
EXTVAR char dummy[20];
EXTVAR int REMOTE_COM;
typedef struct {
char far *pqRx; /* pointer to Rx queue */
int cbqRx; /* size of Rx queue in bytes */
char far *pqTx; /* pointer to Tx queue */
int cbqTx; /* size of Tx queue in bytes */
} QDB;
typedef struct {
HWND hwnd;
WORD inTrig;
WORD outTrig;
} NOTI;
union datarec {
DCB dcb;
QDB qdb;
COMSTAT cs;
NOTI noti;
char txt[4096];
int x;
};
struct recComData { short len;
short fnc;
long rc;
int evmask;
union datarec a;
} comData;